package com.xizi.lotterySystem.dao.dataobject;

import com.xizi.lotterySystem.dao.handler.Encrypt;
import com.xizi.lotterySystem.service.enumerate.ActivityPrizeTiersEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class WinningRecordDO extends BaseDO {
    private Long activityId;
    private String activityName;


    private Long prizeId;
    private String prizeName;
    private ActivityPrizeTiersEnum prizeTier;


    private Long winnerId;
    private String winnerName;
    private String winnerEmail;
    private Encrypt winnerPhoneNumber;
    private Date winningTime;
}
